<?php

class Ext_Controller_Action extends Zend_Controller_Action
{
    public $translater = null;
    public $filter = null;
    
    public function init()
    {
    }
    
    public function preDispatch()
    {
        $userId = Ext_Auth_Front::getInstance()->getIdentity();
        if($userId){
            $user = Ext_User::getInstance()->show($userId)->buildRole();
            $this->view->loginUser = $user;
        }
        
        $this->view->urls = new Ext_View_Urls();
        
        $this->translater = Zend_Registry::get('Zend_Translate');
        $this->filter     = new Zend_Filter_StripTags();
    }

}
